package com.zuipin.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 资源(按纽/功能)
 */
@ApiModel(description = "资源(按纽/功能)")
public class SysResource {
	
	private Long				id;				// 主键 自增长
	private Long				sysId;			// 系统id
	private String				resourceName;	// 资源名称
	private Long				menuId;			// 模块(菜单)id
	private String				menuName;
	private String				resourceCode;	// 资源编号
	private String				hrefUrl;		// 资源(按纽/功能)链接
	private Integer				sort;			// 排序号
	private Integer				delFlag;		// 0:未删除 1:已删除
	private Integer				resourceStatus;	// 是否冻结 0:未冰结 1已冻结
	private String				remark;			// 模块描述,/备注
	private Integer				isPublic;		// 是否为公共模块（任务角色都能拥有的权限）
	private Integer				createId;		// 操作人
	private String				createTime;		// 创建时间
	private Integer				updateId;		// 更新人
	private String				updateTime;		// 更新时间
	public final static Integer	ENABLE		= 0;
	public final static Integer	DISABLE		= 1;
	public final static Integer	IS_PUBLIC	= 1;
	public final static Integer	NOT_PUBLIC	= 0;
	
	@ApiModelProperty(value = "主键 自增长")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "系统id")
	public Long getSysId() {
		return sysId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	@ApiModelProperty(value = "资源名称")
	public String getResourceName() {
		return resourceName;
	}
	
	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}
	
	@ApiModelProperty(value = "模块(菜单)id")
	public Long getMenuId() {
		return menuId;
	}
	
	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}
	
	@ApiModelProperty(value = "资源编号")
	public String getResourceCode() {
		return resourceCode;
	}
	
	public void setResourceCode(String resourceCode) {
		this.resourceCode = resourceCode;
	}
	
	@ApiModelProperty(value = "资源(按纽/功能)链接")
	public String getHrefUrl() {
		return hrefUrl;
	}
	
	public void setHrefUrl(String hrefUrl) {
		this.hrefUrl = hrefUrl;
	}
	
	@ApiModelProperty(value = "排序号")
	public Integer getSort() {
		return sort;
	}
	
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
	@ApiModelProperty(value = "0:未删除 1:已删除")
	public Integer getDelFlag() {
		return delFlag;
	}
	
	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}
	
	@ApiModelProperty(value = "是否冻结 0:未冰结 1已冻结")
	public Integer getResourceStatus() {
		return resourceStatus;
	}
	
	public void setResourceStatus(Integer resourceStatus) {
		this.resourceStatus = resourceStatus;
	}
	
	@ApiModelProperty(value = "模块描述,/备注")
	public String getRemark() {
		return remark;
	}
	
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@ApiModelProperty(value = "是否为公共模块（任务角色都能拥有的权限）")
	public Integer getIsPublic() {
		return isPublic;
	}
	
	public void setIsPublic(Integer isPublic) {
		this.isPublic = isPublic;
	}
	
	@ApiModelProperty(value = "操作人")
	public Integer getCreateId() {
		return createId;
	}
	
	public void setCreateId(Integer createId) {
		this.createId = createId;
	}
	
	@ApiModelProperty(value = "创建时间")
	public String getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	@ApiModelProperty(value = "更新人")
	public Integer getUpdateId() {
		return updateId;
	}
	
	public void setUpdateId(Integer updateId) {
		this.updateId = updateId;
	}
	
	@ApiModelProperty(value = "更新时间")
	public String getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	
	@ApiModelProperty(value = "菜单名称")
	public String getMenuName() {
		return menuName;
	}
	
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}
	
}
